package com.gitee.mrj.aiboot.core.model;

import com.gitee.mrj.aiboot.annotation.config.sf.type.AlainField;
import com.gitee.mrj.aiboot.annotation.config.sf.type.AlainInteger;
import com.gitee.mrj.aiboot.annotation.config.sf.type.AlainString;
import lombok.Getter;
import lombok.Setter;


/**
 * @author MRJ
 * date 2018-11-22.
 */

@Getter
@Setter
public class AibootPost3 {


    @AlainString(title = "编码")
    private String code;
    @AlainString(title = "名称", required = true)
    private String name;
    @AlainInteger(title = "重量", required = true, maximum = 10, minimum = 4)
    private Integer weight;
    @AlainField(title = "ID")
    private String id;


}
